#include"UdpClient.hpp"
#include<iostream>




int main(int argc,char* argv[])
{
    // ./udp_server 127.0.0.1 8080
    if(argc!=3)
    {
        std::cout<<"Usage ./client_server 127.0.0.1 8080"<<std::endl;
        return 1;
    }
    std::string ip=argv[1];
    uint16_t port= ::atoi(argv[2]);
    Client client(ip,port);

    client.InitClient();

    client.Start();
    

    return 0;
}